API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsAstraeus
Graphics
Materials
MaterialType.h
1
// MaterialType.h
3
//
5
6
namespace
nkAstraeus
7
{
11
enum class
MATERIAL_TYPE
12
{
13
UNKNOWN
= 0,
14
PBS
15
} ;
16
20
class
MaterialTypeUtils
final
21
{
22
public :
23
24
// Translation
33
static
nkMemory::StringView
enumToString
(
MATERIAL_TYPE
value) ;
42
static
MATERIAL_TYPE
stringToEnum
(
nkMemory::StringView
value) ;
43
} ;
44
}
nkAstraeus::MATERIAL_TYPE
MATERIAL_TYPE
Lists all materials supported.
Definition:
MaterialType.h:12
nkAstraeus::MATERIAL_TYPE::PBS
@ PBS
Physically Based Shading material.
nkAstraeus
Encompasses all API of component NilkinsAstraeus.
Definition:
BlurComplexEffect.h:7
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition:
StringView.h:22
nkAstraeus::MaterialTypeUtils
Offers tools to work with the MATERIAL_TYPE enumeration.
Definition:
MaterialType.h:21
nkAstraeus::MaterialTypeUtils::enumToString
static nkMemory::StringView enumToString(MATERIAL_TYPE value)
nkAstraeus::MATERIAL_TYPE::UNKNOWN
@ UNKNOWN
Unknown place holder.
nkAstraeus::MaterialTypeUtils::stringToEnum
static MATERIAL_TYPE stringToEnum(nkMemory::StringView value)
Generated by
Doxygen
1.8.18